# This script just displays all SXHKD keybindings.
conky.config = {
  alignment = 'bottom_left',
  background = true,
  border_width = 0.5,
  cpu_avg_samples = 4,
  default_color = 'white',
  default_outline_color = 'grey',
  default_shade_color = 'black',
  draw_borders = true,
  draw_graph_borders = true,
  draw_outline = false,
  draw_shades = false,
  use_xft = true,
  font = 'Ubuntu-Mono:size=10',
  gap_x = 30,
  gap_y = 60,
  maximum_width = 1000,
  minimum_height = 5,
  minimum_width = 5,
  net_avg_samples = 2,
  double_buffer = true,
  out_to_console = false,
  out_to_stderr = false,
  extra_newline = false,
  own_window = true,
  own_window_colour = '000000',
  own_window_class = 'Conky',
  own_window_argb_visual = false,
  own_window_type = 'desktop',
  own_window_transparent = true,
  own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  stippled_borders = 0,
  update_interval = 1,
  uppercase = false,
  use_spacer = 'none',
  show_graph_scale = false,
  show_graph_range = false
}

conky.text = [[
  # Title
${font Ubuntu :Bold:size=26}${color #00ff9c}Keyboard shortcuts
${font Ubuntu :Bold:size=18}SYSTEM POWER${color #ff0078}${hr 1}$color${font Ubuntu :size=14}
 Power menu > ${font Ubuntu :size=14:Style:Bold}${alignr} Ctrl + Win + Alt + Shift + S${font Ubuntu :size=14}
 Restart now > ${font Ubuntu :size=14:Style:Bold}${alignr} Ctrl + Win + Alt + Shift + R${font Ubuntu :size=14}
 Sleep > ${font Ubuntu :size=14:Style:Bold}${alignr} Ctrl + Win + Alt + Shift + Z${font Ubuntu :size=14}
 Lock > 				${font Ubuntu :size=14:Style:Bold}${alignr} Ctrl + Win + Alt + Shift + L

${font Ubuntu :Bold:size=18}${color #00ff9c}LIGHTS${color #ff0078}${font Ubuntu :size=14}${hr 1} ${color #FFFFFF}
 Toggle fan lights > ${font Ubuntu :size=14:Style:Bold}${alignr} Alt + Shift + L${font Ubuntu :size=14}
 Open RGB software > ${font Ubuntu :size=14:Style:Bold}${alignr} Ctrl + Alt + Shift + L
 
${font Ubuntu :Bold:size=18}${color #00ff9c}APPLICATIONS${color #ff0078}${font Ubuntu :size=14}${hr 1} ${color #FFFFFF}
 brave (Browser) > ${font Ubuntu :size=14:Style:Bold}${alignr} Alt + Shift + i${font Ubuntu :size=14}
 firefox > ${font Ubuntu :size=14:Style:Bold}${alignr} Ctrl + Alt + Shift + i${font Ubuntu :size=14}
 whatsapp > ${font Ubuntu :size=14:Style:Bold}${alignr} Alt + Shift + w${font Ubuntu :size=14}
 terminal > ${font Ubuntu :size=14:Style:Bold}${alignr} Win + Enter${font Ubuntu :size=14}
 code (IDE) > ${font Ubuntu :size=14:Style:Bold}${alignr} Ctrl + Alt + Shift + d${font Ubuntu :size=14}
 File manager > ${font Ubuntu :size=14:Style:Bold}${alignr} Win + e ${font Ubuntu :size=14}
 Applications > ${font Ubuntu :size=14:Style:Bold}${alignr} Alt + Shift + S

${font Ubuntu :Bold:size=18}${color #00ff9c}WINDOW MANAGEMENT${color #ff0078}${font Ubuntu :size=12}${hr 1} ${color #FFFFFF}  
 Quit/restart WM > ${font Ubuntu :size=12:Style:Bold}${alignr} Win + Alt + [Q-kill R-restart]${font Ubuntu :size=12}
 Close/kill app > ${font Ubuntu :size=12:Style:Bold}${alignr} Ctrl + Alt + Q [Hold Shift to kill]${font Ubuntu :size=12}
 Toggle tiled & monocle layout > ${font Ubuntu :size=12:Style:Bold}${alignr} Win + M${font Ubuntu :size=12}
 Send marked window to preselection > ${font Ubuntu :size=12:Style:Bold}${alignr} Win + Y${font Ubuntu :size=12}
 swap current node and biggest window > ${font Ubuntu :size=12:Style:Bold}${alignr} Win + G
 ${color #00ff9c}${font Ubuntu :size=12:Style:Bold}Tiling modes${color #ff0078}${hr 1} ${color #FFFFFF}${font Ubuntu :size=12}
  ${font Ubuntu :size=12:Style:Bold}Win +${font Ubuntu :size=12}
   T for tiling mode (default)
   Shift + T for pasudo tiling mode
   S for floating mode
   F for fullscreen mode

 ${color #00ff9c}${font Ubuntu :size=12:Style:Bold}Focus${color #ff0078}${hr 1} ${color #FFFFFF}${font Ubuntu :size=12}
  Focus to window in a direction > ${font Ubuntu :size=12:Style:Bold}${alignr} Win + {h,j,k,l}
  H  > Left | J  > Down | K  > Up | L  > Right

 ${color #00ff9c}${font Ubuntu :size=12:Style:Bold}Cycling${color #ff0078}${hr 1} ${color #FFFFFF}${font Ubuntu :size=12}
  Windows in current desktop > ${font Ubuntu :size=12:Style:Bold}${alignr}Win + {_,shift + }c${font Ubuntu :size=12}
  Desktops on active screen > ${font Ubuntu :size=12:Style:Bold}${alignr}Win + [ or ] (right)${font Ubuntu :size=12}
  Focus last node/desktop > ${font Ubuntu :size=12:Style:Bold}${alignr}Win + Tab or ~${font Ubuntu :size=12}
  Focus older/newer window in history > ${font Ubuntu :size=12:Style:Bold}${alignr}Win + {o,i}${font Ubuntu :size=12}
  Focus or send to desktop > ${font Ubuntu :size=12:Style:Bold}${alignr}Win + Shift + {1-9,0}

 ${color #00ff9c}${font Ubuntu :size=12:Style:Bold}Preselection${color #ff0078}${hr 1} ${color #FFFFFF}${font Ubuntu :size=12}
  Preselect direction > ${font Ubuntu :size=12:Style:Bold}${alignr}Win + Ctrl + {h,j,k,l}${font Ubuntu :size=12}
  Preselect ratio > ${font Ubuntu :size=12:Style:Bold}${alignr}Win + Ctrl + {1-9}
  Cancel preselection:${font Ubuntu :size=12}${color #ff0078}${hr 1}${color #FFFFFF}${font Ubuntu :size=12}
  On window > ${font Ubuntu :size=12:Style:Bold}${alignr}Win + Ctrl + space${font Ubuntu :size=12}
  On desktop > ${font Ubuntu :size=12:Style:Bold}${alignr}Win + Ctrl + Shift + space

 ${color #00ff9c}${font Ubuntu :size=12:Style:Bold}Move and resize floating window${color #ff0078}${hr 1} ${color #FFFFFF}${font Ubuntu :size=12}
  Expand > ${font Ubuntu :size=12:Style:Bold}${alignr}Win + Alt + {h,j,k,l}${font Ubuntu :size=12}
  Contract > ${font Ubuntu :size=12:Style:Bold}${alignr}Win + Alt + Shift + {h,j,k,l}${font Ubuntu :size=12}
  Move > ${font Ubuntu :size=12:Style:Bold}${alignr}Win + {Left,Down,Up,Right}
  
${font Ariel:size=16}${color #0FF}I know, This is a lot of shortcuts.
This is why I am here    (✿◠‿◠)
]]
